import { QrcodeInfo } from "@/utils/QrCode/typing";

const reducer = (state: QrcodeInfo, action: Partial<QrcodeInfo>) => {
  return { ...state, ...action };
};

export default reducer;
